package {{.table.PackageName}}.mapper;

import java.util.List;
import {{.table.PackageName}}.model.{{.table.ClassName}};
{{if eq .table.TplCategory "sub"}}
import {{.table.PackageName}}.model.{{.table.SubTable.ClassName}};
{{end}}
import top.ibase4j.core.base.BaseMapper;

/**
 * {{.table.FunctionName}}Mapper接口
 *
 * @author {{.table.FunctionAuthor}}
 * @since {{.table.CreateTime}}
 */
public interface {{.table.ClassName}}Mapper extends BaseMapper<{{.table.ClassName}}>
{

    /**
     * 查询{{.table.FunctionName}}列表
     * 
     * @param {{ .table.ClassName |CaseCamelLower}} {{.table.FunctionName}}
     * @return {{.table.FunctionName}}集合
     */
    public List<{{.table.ClassName}}> select{{.table.ClassName}}List({{.table.ClassName}} {{ .table.ClassName |CaseCamelLower}});

    /**
     * 批量新增${subTable.functionName}
     *
     * @param {{.table.ClassName |CaseCamelLower}}List {{.table.FunctionName}}列表
     * @return 结果
    */
    public int batch{{.table.ClassName}}(List<{{.table.ClassName}}> {{.table.ClassName |CaseCamelLower}}List);


}
